import request from "../utils/request";

// 登录
export function login(params) {
  return request({
    url: "/login",
    method: "post",
    data: params,
  });
}
// 注册
export function register(params) {
  return request({
    url: "/register",
    method: "post",
    data: params,
  });
}
